<div class="index" ng-controller="indexController">
     <h1>首页</h1>
     <a ui-sref="index.nav" href="">导航一</a>
     <ul ng-repeat="item in navList">
     	<li><a ui-sref="index.nav{id:item.id}" href="">{{item.name}}</a></li>
     </ul>
     <div>{{name}}</div>
     <div ui-view="sub"></div>
</div>